var status = -1;
var selectionLog = [];
var npcs = [9400920, 9400921, 9401160];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.addPopupSay(npcs[manager], 5000, "#face0# 新的家是什么样子的呢？只要一想如何装扮新的家，1分钟很快就过去了呢！", "");
            cm.dispose()
        }
    }
};